3.6.23 \(\int x^3 (a+b \tanh ^{-1}(c x)) (d+e \log (1-c^2 x^2)) \, dx\) [523]

Optimal. Leaf size=225 \[ \frac {b (2 d-3 e) x}{8 c^3}-\frac {2 b e x}{3 c^3}+\frac {b (2 d-e) x^3}{24 c}-\frac {b e x^3}{18 c}-\frac {b (2 d-3 e) \tanh ^{-1}(c x)}{8 c^4}+\frac {2 b e \tanh ^{-1}(c x)}{3 c^4}-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )+\frac {b e x \log \left (1-c^2 x^2\right )}{4 c^3}+\frac {b e x^3 \log \left (1-c^2 x^2\right )}{12 c}-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right ) \]

[Out]

1/8*b*(2*d-3*e)*x/c^3-2/3*b*e*x/c^3+1/24*b*(2*d-e)*x^3/c-1/18*b*e*x^3/c-1/8*b*(2*d-3*e)*arctanh(c*x)/c^4+2/3*b
*e*arctanh(c*x)/c^4-1/4*e*x^2*(a+b*arctanh(c*x))/c^2-1/8*e*x^4*(a+b*arctanh(c*x))+1/4*b*e*x*ln(-c^2*x^2+1)/c^3
+1/12*b*e*x^3*ln(-c^2*x^2+1)/c-1/4*e*(a+b*arctanh(c*x))*ln(-c^2*x^2+1)/c^4+1/4*x^4*(a+b*arctanh(c*x))*(d+e*ln(
-c^2*x^2+1))

________________________________________________________________________________________

Rubi [A]
time = 0.19, antiderivative size = 225, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 11, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.407, Rules used = {2504, 2442, 45, 6230, 470, 327, 212, 2521, 2498, 2505, 308} \begin {gather*} \frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (e \log \left (1-c^2 x^2\right )+d\right )-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {e \log \left (1-c^2 x^2\right ) \left (a+b \tanh ^{-1}(c x)\right )}{4 c^4}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )-\frac {b (2 d-3 e) \tanh ^{-1}(c x)}{8 c^4}+\frac {2 b e \tanh ^{-1}(c x)}{3 c^4}+\frac {b x (2 d-3 e)}{8 c^3}-\frac {2 b e x}{3 c^3}+\frac {b e x^3 \log \left (1-c^2 x^2\right )}{12 c}+\frac {b e x \log \left (1-c^2 x^2\right )}{4 c^3}+\frac {b x^3 (2 d-e)}{24 c}-\frac {b e x^3}{18 c} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^3*(a + b*ArcTanh[c*x])*(d + e*Log[1 - c^2*x^2]),x]

[Out]

(b*(2*d - 3*e)*x)/(8*c^3) - (2*b*e*x)/(3*c^3) + (b*(2*d - e)*x^3)/(24*c) - (b*e*x^3)/(18*c) - (b*(2*d - 3*e)*A
rcTanh[c*x])/(8*c^4) + (2*b*e*ArcTanh[c*x])/(3*c^4) - (e*x^2*(a + b*ArcTanh[c*x]))/(4*c^2) - (e*x^4*(a + b*Arc
Tanh[c*x]))/8 + (b*e*x*Log[1 - c^2*x^2])/(4*c^3) + (b*e*x^3*Log[1 - c^2*x^2])/(12*c) - (e*(a + b*ArcTanh[c*x])
*Log[1 - c^2*x^2])/(4*c^4) + (x^4*(a + b*ArcTanh[c*x])*(d + e*Log[1 - c^2*x^2]))/4

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 308

Int[(x_)^(m_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Int[PolynomialDivide[x^m, a + b*x^n, x], x] /; FreeQ[{a,
b}, x] && IGtQ[m, 0] && IGtQ[n, 0] && GtQ[m, 2*n - 1]

Rule 327

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(n - 1)*(c*x)^(m - n + 1)*((a + b*x^n
)^(p + 1)/(b*(m + n*p + 1))), x] - Dist[a*c^n*((m - n + 1)/(b*(m + n*p + 1))), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rule 470

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[d*(e*x)^(m +
 1)*((a + b*x^n)^(p + 1)/(b*e*(m + n*(p + 1) + 1))), x] - Dist[(a*d*(m + 1) - b*c*(m + n*(p + 1) + 1))/(b*(m +
 n*(p + 1) + 1)), Int[(e*x)^m*(a + b*x^n)^p, x], x] /; FreeQ[{a, b, c, d, e, m, n, p}, x] && NeQ[b*c - a*d, 0]
 && NeQ[m + n*(p + 1) + 1, 0]

Rule 2442

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Simp[(f + g*
x)^(q + 1)*((a + b*Log[c*(d + e*x)^n])/(g*(q + 1))), x] - Dist[b*e*(n/(g*(q + 1))), Int[(f + g*x)^(q + 1)/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]

Rule 2498

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)], x_Symbol] :> Simp[x*Log[c*(d + e*x^n)^p], x] - Dist[e*n*p, Int[
x^n/(d + e*x^n), x], x] /; FreeQ[{c, d, e, n, p}, x]

Rule 2504

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rule 2505

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[(f*x)^(m +
 1)*((a + b*Log[c*(d + e*x^n)^p])/(f*(m + 1))), x] - Dist[b*e*n*(p/(f*(m + 1))), Int[x^(n - 1)*((f*x)^(m + 1)/
(d + e*x^n)), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && NeQ[m, -1]

Rule 2521

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*((f_) + (g_.)*(x_)^(s_))^(r_.), x_Symbol]
:> With[{t = ExpandIntegrand[(a + b*Log[c*(d + e*x^n)^p])^q, (f + g*x^s)^r, x]}, Int[t, x] /; SumQ[t]] /; Free
Q[{a, b, c, d, e, f, g, n, p, q, r, s}, x] && IntegerQ[n] && IGtQ[q, 0] && IntegerQ[r] && IntegerQ[s] && (EqQ[
q, 1] || (GtQ[r, 0] && GtQ[s, 1]) || (LtQ[s, 0] && LtQ[r, 0]))

Rule 6230

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))*((d_.) + Log[(f_.) + (g_.)*(x_)^2]*(e_.))*(x_)^(m_.), x_Symbol] :> Wit
h[{u = IntHide[x^m*(d + e*Log[f + g*x^2]), x]}, Dist[a + b*ArcTanh[c*x], u, x] - Dist[b*c, Int[ExpandIntegrand
[u/(1 - c^2*x^2), x], x], x]] /; FreeQ[{a, b, c, d, e, f, g}, x] && IGtQ[(m + 1)/2, 0]

Rubi steps

\begin {align*} \int x^3 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right ) \, dx &=-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )-(b c) \int \left (\frac {x^2 \left (-2 e+c^2 (2 d-e) x^2\right )}{8 c^2 \left (1-c^2 x^2\right )}-\frac {e \left (1+c^2 x^2\right ) \log \left (1-c^2 x^2\right )}{4 c^4}\right ) \, dx\\ &=-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )-\frac {b \int \frac {x^2 \left (-2 e+c^2 (2 d-e) x^2\right )}{1-c^2 x^2} \, dx}{8 c}+\frac {(b e) \int \left (1+c^2 x^2\right ) \log \left (1-c^2 x^2\right ) \, dx}{4 c^3}\\ &=\frac {b (2 d-e) x^3}{24 c}-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )-\frac {(b (2 d-3 e)) \int \frac {x^2}{1-c^2 x^2} \, dx}{8 c}+\frac {(b e) \int \left (\log \left (1-c^2 x^2\right )+c^2 x^2 \log \left (1-c^2 x^2\right )\right ) \, dx}{4 c^3}\\ &=\frac {b (2 d-3 e) x}{8 c^3}+\frac {b (2 d-e) x^3}{24 c}-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )-\frac {(b (2 d-3 e)) \int \frac {1}{1-c^2 x^2} \, dx}{8 c^3}+\frac {(b e) \int \log \left (1-c^2 x^2\right ) \, dx}{4 c^3}+\frac {(b e) \int x^2 \log \left (1-c^2 x^2\right ) \, dx}{4 c}\\ &=\frac {b (2 d-3 e) x}{8 c^3}+\frac {b (2 d-e) x^3}{24 c}-\frac {b (2 d-3 e) \tanh ^{-1}(c x)}{8 c^4}-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )+\frac {b e x \log \left (1-c^2 x^2\right )}{4 c^3}+\frac {b e x^3 \log \left (1-c^2 x^2\right )}{12 c}-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )+\frac {(b e) \int \frac {x^2}{1-c^2 x^2} \, dx}{2 c}+\frac {1}{6} (b c e) \int \frac {x^4}{1-c^2 x^2} \, dx\\ &=\frac {b (2 d-3 e) x}{8 c^3}-\frac {b e x}{2 c^3}+\frac {b (2 d-e) x^3}{24 c}-\frac {b (2 d-3 e) \tanh ^{-1}(c x)}{8 c^4}-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )+\frac {b e x \log \left (1-c^2 x^2\right )}{4 c^3}+\frac {b e x^3 \log \left (1-c^2 x^2\right )}{12 c}-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )+\frac {(b e) \int \frac {1}{1-c^2 x^2} \, dx}{2 c^3}+\frac {1}{6} (b c e) \int \left (-\frac {1}{c^4}-\frac {x^2}{c^2}+\frac {1}{c^4 \left (1-c^2 x^2\right )}\right ) \, dx\\ &=\frac {b (2 d-3 e) x}{8 c^3}-\frac {2 b e x}{3 c^3}+\frac {b (2 d-e) x^3}{24 c}-\frac {b e x^3}{18 c}-\frac {b (2 d-3 e) \tanh ^{-1}(c x)}{8 c^4}+\frac {b e \tanh ^{-1}(c x)}{2 c^4}-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )+\frac {b e x \log \left (1-c^2 x^2\right )}{4 c^3}+\frac {b e x^3 \log \left (1-c^2 x^2\right )}{12 c}-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )+\frac {(b e) \int \frac {1}{1-c^2 x^2} \, dx}{6 c^3}\\ &=\frac {b (2 d-3 e) x}{8 c^3}-\frac {2 b e x}{3 c^3}+\frac {b (2 d-e) x^3}{24 c}-\frac {b e x^3}{18 c}-\frac {b (2 d-3 e) \tanh ^{-1}(c x)}{8 c^4}+\frac {2 b e \tanh ^{-1}(c x)}{3 c^4}-\frac {e x^2 \left (a+b \tanh ^{-1}(c x)\right )}{4 c^2}-\frac {1}{8} e x^4 \left (a+b \tanh ^{-1}(c x)\right )+\frac {b e x \log \left (1-c^2 x^2\right )}{4 c^3}+\frac {b e x^3 \log \left (1-c^2 x^2\right )}{12 c}-\frac {e \left (a+b \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{4 c^4}+\frac {1}{4} x^4 \left (a+b \tanh ^{-1}(c x)\right ) \left (d+e \log \left (1-c^2 x^2\right )\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.08, size = 192, normalized size = 0.85 \begin {gather*} \frac {6 b c (6 d-25 e) x-36 a c^2 e x^2+2 b c^3 (6 d-7 e) x^3+18 a c^4 (2 d-e) x^4-18 b c^2 x^2 \left (-2 c^2 d x^2+e \left (2+c^2 x^2\right )\right ) \tanh ^{-1}(c x)+3 (6 b d-12 a e-25 b e) \log (1-c x)-3 (6 b d+12 a e-25 b e) \log (1+c x)+12 e \left (3 a c^4 x^4+b c x \left (3+c^2 x^2\right )+3 b \left (-1+c^4 x^4\right ) \tanh ^{-1}(c x)\right ) \log \left (1-c^2 x^2\right )}{144 c^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^3*(a + b*ArcTanh[c*x])*(d + e*Log[1 - c^2*x^2]),x]

[Out]

(6*b*c*(6*d - 25*e)*x - 36*a*c^2*e*x^2 + 2*b*c^3*(6*d - 7*e)*x^3 + 18*a*c^4*(2*d - e)*x^4 - 18*b*c^2*x^2*(-2*c
^2*d*x^2 + e*(2 + c^2*x^2))*ArcTanh[c*x] + 3*(6*b*d - 12*a*e - 25*b*e)*Log[1 - c*x] - 3*(6*b*d + 12*a*e - 25*b
*e)*Log[1 + c*x] + 12*e*(3*a*c^4*x^4 + b*c*x*(3 + c^2*x^2) + 3*b*(-1 + c^4*x^4)*ArcTanh[c*x])*Log[1 - c^2*x^2]
)/(144*c^4)

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 3.
time = 16.66, size = 3739, normalized size = 16.62

method result size
default \(\text {Expression too large to display}\) \(3739\)
risch \(\text {Expression too large to display}\) \(8859\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(a+b*arctanh(c*x))*(d+e*ln(-c^2*x^2+1)),x,method=_RETURNVERBOSE)

[Out]

1/4*b*d*x/c^3+1/12*b*d*x^3/c-25/24*b*e*x/c^3-7/72*b*e*x^3/c+41/24*b*e*arctanh(c*x)/c^4+1/4*x^4*a*e*ln(-c^2*x^2
+1)+1/4*x^4*a*d-1/8*x^4*a*e+41/36*e/c^4*b+1/6/c^4*b*e*(3*arctanh(c*x)*x^3*c^3+3*arctanh(c*x)*x^2*c^2+c^2*x^2+3
*arctanh(c*x)*x*c+c*x+3*arctanh(c*x)+4)*(c*x-1)*ln((c*x+1)/(-c^2*x^2+1)^(1/2))-1/6*I/c^4*b*Pi*e*csgn(I*(c*x+1)
^2/(c^2*x^2-1))^3-1/6*I/c^4*b*e*Pi*csgn(I*(c*x+1)^2/(c^2*x^2-1)/(1+(c*x+1)^2/(-c^2*x^2+1))^2)^3-1/6*I/c^4*b*e*
Pi*csgn(I*(1+(c*x+1)^2/(-c^2*x^2+1))^2)^3+1/8*I*b*Pi*arctanh(c*x)*csgn(I*(1+(c*x+1)^2/(-c^2*x^2+1))^2)^3*x^4*e
+1/24*I/c*b*Pi*csgn(I*(1+(c*x+1)^2/(-c^2*x^2+1))^2)^3*x^3*e+1/8*I/c^3*b*Pi*csgn(I*(c*x+1)^2/(c^2*x^2-1))^3*x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2/(-c^2*x^2+1))^2)*csgn(I*(c*x+1)^2/(c^2*x^2-1)/(1+(
c*x+1)^2/(-c^2*x^2+1))^2)*x^4*e-1/24*I/c*b*Pi*c...

________________________________________________________________________________________

Maxima [C] Result contains complex when optimal does not.
time = 0.27, size = 274, normalized size = 1.22 \begin {gather*} \frac {1}{4} \, a d x^{4} + \frac {1}{8} \, {\left (2 \, x^{4} \log \left (-c^{2} x^{2} + 1\right ) - c^{2} {\left (\frac {c^{2} x^{4} + 2 \, x^{2}}{c^{4}} + \frac {2 \, \log \left (c^{2} x^{2} - 1\right )}{c^{6}}\right )}\right )} b \operatorname {artanh}\left (c x\right ) e + \frac {1}{24} \, {\left (6 \, x^{4} \operatorname {artanh}\left (c x\right ) + c {\left (\frac {2 \, {\left (c^{2} x^{3} + 3 \, x\right )}}{c^{4}} - \frac {3 \, \log \left (c x + 1\right )}{c^{5}} + \frac {3 \, \log \left (c x - 1\right )}{c^{5}}\right )}\right )} b d + \frac {1}{8} \, {\left (2 \, x^{4} \log \left (-c^{2} x^{2} + 1\right ) - c^{2} {\left (\frac {c^{2} x^{4} + 2 \, x^{2}}{c^{4}} + \frac {2 \, \log \left (c^{2} x^{2} - 1\right )}{c^{6}}\right )}\right )} a e - \frac {{\left (2 \, {\left (-6 i \, \pi c^{3} + 7 \, c^{3}\right )} x^{3} + 6 \, {\left (-6 i \, \pi c + 25 \, c\right )} x + 3 \, {\left (6 i \, \pi - 4 \, c^{3} x^{3} - 12 \, c x - 25\right )} \log \left (c x + 1\right ) + 3 \, {\left (-6 i \, \pi - 4 \, c^{3} x^{3} - 12 \, c x + 25\right )} \log \left (c x - 1\right )\right )} b e}{144 \, c^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="maxima")

[Out]

1/4*a*d*x^4 + 1/8*(2*x^4*log(-c^2*x^2 + 1) - c^2*((c^2*x^4 + 2*x^2)/c^4 + 2*log(c^2*x^2 - 1)/c^6))*b*arctanh(c
*x)*e + 1/24*(6*x^4*arctanh(c*x) + c*(2*(c^2*x^3 + 3*x)/c^4 - 3*log(c*x + 1)/c^5 + 3*log(c*x - 1)/c^5))*b*d +
1/8*(2*x^4*log(-c^2*x^2 + 1) - c^2*((c^2*x^4 + 2*x^2)/c^4 + 2*log(c^2*x^2 - 1)/c^6))*a*e - 1/144*(2*(-6*I*pi*c
^3 + 7*c^3)*x^3 + 6*(-6*I*pi*c + 25*c)*x + 3*(6*I*pi - 4*c^3*x^3 - 12*c*x - 25)*log(c*x + 1) + 3*(-6*I*pi - 4*
c^3*x^3 - 12*c*x + 25)*log(c*x - 1))*b*e/c^4

________________________________________________________________________________________

Fricas [A]
time = 0.48, size = 306, normalized size = 1.36 \begin {gather*} \frac {36 \, a c^{4} d x^{4} + 12 \, b c^{3} d x^{3} + 36 \, b c d x - 2 \, {\left (9 \, a c^{4} x^{4} + 7 \, b c^{3} x^{3} + 18 \, a c^{2} x^{2} + 75 \, b c x\right )} \cosh \left (1\right ) + 12 \, {\left ({\left (3 \, a c^{4} x^{4} + b c^{3} x^{3} + 3 \, b c x - 3 \, a\right )} \cosh \left (1\right ) + {\left (3 \, a c^{4} x^{4} + b c^{3} x^{3} + 3 \, b c x - 3 \, a\right )} \sinh \left (1\right )\right )} \log \left (-c^{2} x^{2} + 1\right ) + 3 \, {\left (6 \, b c^{4} d x^{4} - 6 \, b d - {\left (3 \, b c^{4} x^{4} + 6 \, b c^{2} x^{2} - 25 \, b\right )} \cosh \left (1\right ) + 6 \, {\left ({\left (b c^{4} x^{4} - b\right )} \cosh \left (1\right ) + {\left (b c^{4} x^{4} - b\right )} \sinh \left (1\right )\right )} \log \left (-c^{2} x^{2} + 1\right ) - {\left (3 \, b c^{4} x^{4} + 6 \, b c^{2} x^{2} - 25 \, b\right )} \sinh \left (1\right )\right )} \log \left (-\frac {c x + 1}{c x - 1}\right ) - 2 \, {\left (9 \, a c^{4} x^{4} + 7 \, b c^{3} x^{3} + 18 \, a c^{2} x^{2} + 75 \, b c x\right )} \sinh \left (1\right )}{144 \, c^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="fricas")

[Out]

1/144*(36*a*c^4*d*x^4 + 12*b*c^3*d*x^3 + 36*b*c*d*x - 2*(9*a*c^4*x^4 + 7*b*c^3*x^3 + 18*a*c^2*x^2 + 75*b*c*x)*
cosh(1) + 12*((3*a*c^4*x^4 + b*c^3*x^3 + 3*b*c*x - 3*a)*cosh(1) + (3*a*c^4*x^4 + b*c^3*x^3 + 3*b*c*x - 3*a)*si
nh(1))*log(-c^2*x^2 + 1) + 3*(6*b*c^4*d*x^4 - 6*b*d - (3*b*c^4*x^4 + 6*b*c^2*x^2 - 25*b)*cosh(1) + 6*((b*c^4*x
^4 - b)*cosh(1) + (b*c^4*x^4 - b)*sinh(1))*log(-c^2*x^2 + 1) - (3*b*c^4*x^4 + 6*b*c^2*x^2 - 25*b)*sinh(1))*log
(-(c*x + 1)/(c*x - 1)) - 2*(9*a*c^4*x^4 + 7*b*c^3*x^3 + 18*a*c^2*x^2 + 75*b*c*x)*sinh(1))/c^4

________________________________________________________________________________________

Sympy [A]
time = 1.48, size = 279, normalized size = 1.24 \begin {gather*} \begin {cases} \frac {a d x^{4}}{4} + \frac {a e x^{4} \log {\left (- c^{2} x^{2} + 1 \right )}}{4} - \frac {a e x^{4}}{8} - \frac {a e x^{2}}{4 c^{2}} - \frac {a e \log {\left (- c^{2} x^{2} + 1 \right )}}{4 c^{4}} + \frac {b d x^{4} \operatorname {atanh}{\left (c x \right )}}{4} + \frac {b e x^{4} \log {\left (- c^{2} x^{2} + 1 \right )} \operatorname {atanh}{\left (c x \right )}}{4} - \frac {b e x^{4} \operatorname {atanh}{\left (c x \right )}}{8} + \frac {b d x^{3}}{12 c} + \frac {b e x^{3} \log {\left (- c^{2} x^{2} + 1 \right )}}{12 c} - \frac {7 b e x^{3}}{72 c} - \frac {b e x^{2} \operatorname {atanh}{\left (c x \right )}}{4 c^{2}} + \frac {b d x}{4 c^{3}} + \frac {b e x \log {\left (- c^{2} x^{2} + 1 \right )}}{4 c^{3}} - \frac {25 b e x}{24 c^{3}} - \frac {b d \operatorname {atanh}{\left (c x \right )}}{4 c^{4}} - \frac {b e \log {\left (- c^{2} x^{2} + 1 \right )} \operatorname {atanh}{\left (c x \right )}}{4 c^{4}} + \frac {25 b e \operatorname {atanh}{\left (c x \right )}}{24 c^{4}} & \text {for}\: c \neq 0 \\\frac {a d x^{4}}{4} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*(a+b*atanh(c*x))*(d+e*ln(-c**2*x**2+1)),x)

[Out]

Piecewise((a*d*x**4/4 + a*e*x**4*log(-c**2*x**2 + 1)/4 - a*e*x**4/8 - a*e*x**2/(4*c**2) - a*e*log(-c**2*x**2 +
 1)/(4*c**4) + b*d*x**4*atanh(c*x)/4 + b*e*x**4*log(-c**2*x**2 + 1)*atanh(c*x)/4 - b*e*x**4*atanh(c*x)/8 + b*d
*x**3/(12*c) + b*e*x**3*log(-c**2*x**2 + 1)/(12*c) - 7*b*e*x**3/(72*c) - b*e*x**2*atanh(c*x)/(4*c**2) + b*d*x/
(4*c**3) + b*e*x*log(-c**2*x**2 + 1)/(4*c**3) - 25*b*e*x/(24*c**3) - b*d*atanh(c*x)/(4*c**4) - b*e*log(-c**2*x
**2 + 1)*atanh(c*x)/(4*c**4) + 25*b*e*atanh(c*x)/(24*c**4), Ne(c, 0)), (a*d*x**4/4, True))

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(a+b*arctanh(c*x))*(d+e*log(-c^2*x^2+1)),x, algorithm="giac")

[Out]

Exception raised: TypeError >> An error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

________________________________________________________________________________________

Mupad [B]
time = 1.70, size = 851, normalized size = 3.78 \begin {gather*} {\ln \left (1-c\,x\right )}^2\,\left (\frac {b\,e}{8\,c^4}-\frac {b\,e\,x^4}{8}\right )-{\ln \left (c\,x+1\right )}^2\,\left (\frac {b\,e}{8\,c^4}-\frac {b\,e\,x^4}{8}\right )+\ln \left (1-c\,x\right )\,\left (\frac {x^4\,\left (a\,e-\frac {b\,d}{2}+\frac {b\,e}{4}+\frac {b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )}{2}\right )}{4}-\frac {x^2\,\left (\frac {16\,a\,e-8\,b\,d+8\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )}{c}-\frac {16\,a\,e-8\,b\,d+4\,b\,e+8\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )}{c}\right )}{32\,c}+\frac {b\,e\,x}{4\,c^3}+\frac {b\,e\,x^3}{12\,c}\right )-x^2\,\left (\frac {a\,\left (e-2\,d+2\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{4\,c^2}+\frac {a\,\left (d-e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{2\,c^2}\right )-x\,\left (\frac {b\,\left (7\,e-6\,d+6\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{24\,c^3}+\frac {3\,b\,e}{4\,c^3}\right )-\frac {a\,x^4\,\left (e-2\,d+2\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{8}-\frac {\ln \left (\frac {x\,\left (12\,a\,e-6\,b\,d+25\,b\,e+6\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{24\,c^2}-\frac {25\,b\,e-6\,b\,d+6\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )}{24\,c^3}-\frac {a\,e\,x}{2\,c^2}\right )\,\left (12\,a\,e-6\,b\,d+25\,b\,e+6\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{48\,c^4}-\frac {\ln \left (\frac {x\,\left (12\,a\,e+6\,b\,d-25\,b\,e-6\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{24\,c^2}-\frac {25\,b\,e-6\,b\,d+6\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )}{24\,c^3}-\frac {a\,e\,x}{2\,c^2}\right )\,\left (12\,a\,e+6\,b\,d-25\,b\,e-6\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{48\,c^4}+c\,\ln \left (c\,x+1\right )\,\left (\frac {x^4\,\left (4\,a\,e+2\,b\,d-b\,e-2\,b\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{16\,c}+\frac {b\,e\,x}{4\,c^4}+\frac {b\,e\,x^3}{12\,c^2}-\frac {b\,e\,x^2}{8\,c^3}\right )-\frac {b\,x^3\,\left (7\,e-6\,d+6\,e\,\left (\ln \left (c\,x+1\right )+\ln \left (1-c\,x\right )-\ln \left (1-c^2\,x^2\right )\right )\right )}{72\,c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(a + b*atanh(c*x))*(d + e*log(1 - c^2*x^2)),x)

[Out]

log(1 - c*x)^2*((b*e)/(8*c^4) - (b*e*x^4)/8) - log(c*x + 1)^2*((b*e)/(8*c^4) - (b*e*x^4)/8) + log(1 - c*x)*((x
^4*(a*e - (b*d)/2 + (b*e)/4 + (b*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2)))/2))/4 - (x^2*((16*a*e - 8
*b*d + 8*b*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2)))/c - (16*a*e - 8*b*d + 4*b*e + 8*b*e*(log(c*x +
1) + log(1 - c*x) - log(1 - c^2*x^2)))/c))/(32*c) + (b*e*x)/(4*c^3) + (b*e*x^3)/(12*c)) - x^2*((a*(e - 2*d + 2
*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(4*c^2) + (a*(d - e*(log(c*x + 1) + log(1 - c*x) - log(1
 - c^2*x^2))))/(2*c^2)) - x*((b*(7*e - 6*d + 6*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(24*c^3) +
 (3*b*e)/(4*c^3)) - (a*x^4*(e - 2*d + 2*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/8 - (log((x*(12*a
*e - 6*b*d + 25*b*e + 6*b*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(24*c^2) - (25*b*e - 6*b*d + 6*
b*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2)))/(24*c^3) - (a*e*x)/(2*c^2))*(12*a*e - 6*b*d + 25*b*e + 6
*b*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(48*c^4) - (log((x*(12*a*e + 6*b*d - 25*b*e - 6*b*e*(l
og(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(24*c^2) - (25*b*e - 6*b*d + 6*b*e*(log(c*x + 1) + log(1 - c*
x) - log(1 - c^2*x^2)))/(24*c^3) - (a*e*x)/(2*c^2))*(12*a*e + 6*b*d - 25*b*e - 6*b*e*(log(c*x + 1) + log(1 - c
*x) - log(1 - c^2*x^2))))/(48*c^4) + c*log(c*x + 1)*((x^4*(4*a*e + 2*b*d - b*e - 2*b*e*(log(c*x + 1) + log(1 -
 c*x) - log(1 - c^2*x^2))))/(16*c) + (b*e*x)/(4*c^4) + (b*e*x^3)/(12*c^2) - (b*e*x^2)/(8*c^3)) - (b*x^3*(7*e -
 6*d + 6*e*(log(c*x + 1) + log(1 - c*x) - log(1 - c^2*x^2))))/(72*c)

________________________________________________________________________________________